Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Avoid using explicit version for sudo #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Prabhjot-Sethi
Copy link

Using an explicit version of sudo does not looks like
the requirement, thus removing the version based package
add to fix the break for image build

Signed-off-by: Prabhjot Singh Sethi [email protected]

Using an explicit version of sudo does not looks like
the requirement, thus removing the version based package
add to fix the break for image build

Signed-off-by: Prabhjot Singh Sethi <[email protected]>
@Prabhjot-Sethi
Copy link
Author

without this change "make edgednssvr" fails

GOOS=linux go build -a --ldflags '-extldflags "-static"' -tags netgo -installsuffix netgo -o ./dist/edgednssvr/edgednssvr ./cmd/edgednssvr
VER=1.0 docker-compose build edgednssvr
Step 1/15 : FROM alpine:3.12.0 AS edgedns-deps-image
---> a24bb4013296
Step 2/15 : RUN printf "http://nl.alpinelinux.org/alpine/v3.12/main\nhttp://nl.alpinelinux.org/alpine/v3.12/community" >> /etc/apk/repositories
---> Running in 58a1c5acf93b
Removing intermediate container 58a1c5acf93b
---> 6827dc6bfa5e
Step 3/15 : RUN apk add --no-cache sudo=1.9.0-r0
---> Running in 522348f69fb0
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
^[[91mERROR: unsatisfiable constraints:
^[[0m sudo-1.9.5p2-r0:
breaks: world[sudo=1.9.0-r0]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant